package com.itheima.service;


import com.itheima.pojo.OrderSetting;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Transactional
public interface OrderSettingService {

    void add(List<OrderSetting> orderSettingList);

    @Transactional(readOnly = true)
    List<Map<String, Object>> getOrderSettingByMonth(String date);
}
